// css初始化
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li {
  list-style: none;
}
/* 声明字体*/
@font-face {
  font-family: electronicFont;
  src: url(../fonts/DS-DIGIT.TTF);
}
body {
  background: url(../images/bg.jpg) no-repeat center top;
  line-height: 1.15;
  .header {
    position: relative;
    height: 1.25rem;
    background: url(../images/head_bg.png) no-repeat;
    background-size: 100% 100%;
    h1 {
      color: #ffffff;
      font-size: 0.475rem;
      text-align: center;
      line-height: 1rem;
    }
    .showTime {
      position: absolute;
      top: 0;
      right: 0.375rem;
      line-height: 0.9375rem;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.25rem;
    }
  }
}
.mainbox {
  min-width: 1024px;
  max-width: 1920px;
  // background-color: pink;
  padding: 0.125rem 0.125rem 0 0.125rem;
  margin: 0 auto;
  display: flex;
  .column {
    flex: 3;
    &:nth-child(2) {
      flex: 5;
      margin: 0 0.125rem 0.125rem;
      overflow: hidden;
    }
  }
}
.panel {
  position: relative;
  height: 3.875rem;
  border: 0.0125rem solid rgba(25, 186, 139, 0.17);
  background: rgba(255, 255, 255, 0.03) url(../imgages/line.jpg);
  padding: 0% 0.1875rem 0.5rem;
  margin-bottom: 0.1875rem;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0.125rem;
    height: 0.125rem;
    border-top: 2px solid #02a6b5;
    border-left: 2px solid #02a6b5;
  }
  &::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 0.125rem;
    height: 0.125rem;
    border-top: 2px solid #02a6b5;
    border-right: 2px solid #02a6b5;
  }
  .panel-footer {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    &::before {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0.125rem;
      height: 0.125rem;
      border-bottom: 2px solid #02a6b5;
      border-left: 2px solid #02a6b5;
    }
    &::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      width: 0.125rem;
      height: 0.125rem;
      border-bottom: 2px solid #02a6b5;
      border-right: 2px solid #02a6b5;
    }
  }
  h2 {
    font-size: 0.25rem;
    height: 0.6rem;
    color: #ffffff;
    line-height: 0.6rem;
    text-align: center;
    font-weight: 400;
    a {
      text-decoration: none;
      color: #ffffff;
      margin: 0 0.125rem;
    }
  }
  .chart {
    height: 3rem;
    // background-color: pink;
  }
}
.no {
  padding: 0.1875rem;
  background-color: rgba(101, 132, 226, 0.1);
  .no-hd {
    position: relative;
    border: 1px solid rgba(25, 186, 139, 0.17);
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0.375rem;
      height: 0.125rem;
      border-top: 2px solid #02a6b5;
      border-left: 2px solid #02a6b5;
    }
    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0.375rem;
      height: 0.125rem;
      border-bottom: 2px solid #02a6b5;
      border-right: 2px solid #02a6b5;
    }
    ul {
      display: flex;

      li {
        position: relative;
        flex: 1;
        font-size: 0.875rem;
        height: 1rem;
        color: #ffeb7b;
        font-family: electronicFont;
        text-align: center;
        line-height: 1rem;
        &:first-child {
          &::after {
            content: "";
            position: absolute;
            right: 0;
            top: 25%;
            width: 1px;
            height: 50%;
            background-color: rgba(255, 255, 255, 0.2);
          }
        }
      }
    }
  }
  .no-bd {
    ul {
      display: flex;
      li {
        flex: 1;
        height: 0.5rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.225rem;
        text-align: center;
        line-height: 0.5rem;
        padding-top: 0.125rem;
      }
    }
  }
}
.map {
  position: relative;
  height: 10.125rem;
  .map1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6.475rem;
    height: 6.475rem;
    background: url(../images/map.png);
    background-size: 100% 100%;
    opacity: 0.3;
  }
  .map2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8.0375rem;
    height: 8.0375rem;
    background: url(../images/lbx.png);
    background-size: 100% 100%;
    opacity: 0.6;
    animation: rotate1 15s linear infinite;
  }
  .map3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7.075rem;
    height: 7.075rem;
    background: url(../images/jt.png);
    background-size: 100% 100%;
    opacity: 0.6;
    animation: rotate2 10s linear infinite;
  }
  .chart {
    position: absolute;
    left: 0;
    top: 0;
    // background-color: pink;
    width: 100%;
    height: 100%;
  }
}
// 定义第一个动画
@keyframes rotate1 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
// 定义第二个动画
@keyframes rotate2 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
// 最后的屏幕尺寸约束
@media screen and (max-width: 1024px) {
  html {
    font-size: 42px !important;
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 80px !important;
  }
}
